﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>订单管理</title>
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/account_1109.css">
<link rel="stylesheet" type="text/css" href="css/ac_order.css">
<script type="text/jscript">
	function showhz()
	{	
		document.getElementById('showhz').style.display = "";
		document.getElementById('showjs').style.display = "none";
		document.getElementById('showyx').style.display = "none";
		document.getElementById('showzb').style.display = "none";
	}
	function showjs()
	{
		document.getElementById('showjs').style.display = "";
		document.getElementById('showhz').style.display = "none";
		document.getElementById('showyx').style.display = "none";
		document.getElementById('showzb').style.display = "none";
	}
	function showyx()
	{
		document.getElementById('showyx').style.display = "";
		document.getElementById('showhz').style.display = "none";
		document.getElementById('showjs').style.display = "none";
		document.getElementById('showzb').style.display = "none";
	}
	function showzb()
	{
		document.getElementById('showzb').style.display = "";
		document.getElementById('showhz').style.display = "none";
		document.getElementById('showyx').style.display = "none";
		document.getElementById('showjs').style.display = "none";
	}
</script>
</head>

<body>
<div class="account_base_div">
  <img style="margin-left:4px" src="img/ddgl.gif" width="70" height="27"  />
    
  <div class="nav">
        <div class="nav_dh">
           <a class="pla" href="#"  onclick="showhz()">现有订单</a>
           <a class="pla" href="#" onclick="showjs()">成功订单</a>
            <a class="pla" href="#" onclick="showyx()">已取消订单</a>
             <a class="pla" href="#" onclick="showzb()">历史订单</a>
        </div>
    </div>
   <div class="content_tb" style="margin-top:8px; " id="showhz" >
   <div class="spmes_title" >
  <table id="tb_main" class="table_account" align="center" cellpadding="0" cellspacing="0">
    <tr class="title">
      <td height="40" width="32%" style="text-align:left; padding-left:15px">商品信息</td>
      <td  width="9%">单价（元）</td>
      <td width="9%">数量</td>
	  <td width="18%">实付款（元）</td>
      <td width="16%">订单状态</td>
      <td width="16%">操作</td>
      
    </tr>
    	
	  </table></div>
     <div class="spmes_content">
         <div class="ddtel">
            <h4 style="float:left">订单编号：<span style="color:#666; font:Arial, Helvetica, sans-serif" >2051030225</span></h4>
            <h4 style="margin-left:525px">下单时间：<span style="color:#666; font:Arial, Helvetica, sans-serif" >2012/05/12 12:18:05</span></h4>
           
         </div>
         <div class="listone">
           <table class="listcontent" cellpadding="0" cellspacing="0" width="748" border="0">
             <tr>
               <td  width="50%" height="195">
                 <table class="span_spcthree" cellpadding="0" cellspacing="0" width="100%" height="30%" border="0">
                  <tr>
                  <td height="100%" width="16%">
               <a href="#"><img src="img/1488_G_1337822483092.jpg" border="0" /></a>
               </td>
               <td width="48%">
                 <span class="span_spctwo">美国Sliquid女用催欲凝胶</span><br />
                 
               </td>
               <td align="center" width="18%">￥268.00</td>
               <td align="center" width="18%">1</td>
               </tr></table>
               <table  class="span_spcthree" cellpadding="0" cellspacing="0" width="100%" height="30%" border="0">
                  <tr>
                  <td height="100%" width="16%">
               <a href="#"><img src="img/1488_G_1337822483092.jpg" border="0" /></a>
               </td>
               <td width="48%">
                 <span class="span_spctwo">美国Sliquid女用催欲凝胶</span><br />
                 
               </td>
               <td align="center" width="18%">￥268.00</td>
               <td align="center" width="18%">1</td>
               </tr></table>
               <table cellpadding="0" cellspacing="0" width="100%" height="30%" border="0">
                  <tr>
                  <td height="100%" width="16%">
               <a href="#"><img src="img/1488_G_1337822483092.jpg" border="0" /></a>
               </td>
               <td width="48%">
                 <span class="span_spctwo">美国Sliquid女用催欲凝胶</span><br />
                 
               </td>
               <td align="center" width="18%">￥268.00</td>
               <td align="center" width="18%">1</td>
               </tr></table>
               </td>
               <td class="td_fs"   width="18%">￥278.00<br /><span class="span_spc">（含10.00快递费）</span></td>
               <td class="td_fs" width="16%"><span class="span_spc">订单已成功，等待备货中</span></td>
               <td class="td_fs" width="16%"><a href="order/detail_qx.html">取消订单</a><br />
               <a href="order/detail.html">查看订单</a></td>
             </tr>
           </table>
           
         </div>
        <div>
           
        </div>
       
     </div>
     <div class="spmes_content">
         <div class="ddtel">
            <h4 style="float:left">订单编号：<span style="color:#666; font:Arial, Helvetica, sans-serif" >2051030225</span></h4>
            <h4 style="margin-left:525px">下单时间：<span style="color:#666; font:Arial, Helvetica, sans-serif" >2012/05/12 12:18:05</span></h4>
           
         </div>
         <div class="listone">
           <table class="listcontent" cellpadding="0" cellspacing="0" width="748" border="0">
             <tr>
               <td  width="50%" height="65">
                 <table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
                  <tr>
                  <td height="100%" width="16%">
               <a href="#"><img src="img/1488_G_1337822483092.jpg" border="0" /></a>
               </td>
               <td width="48%">
                 <span class="span_spctwo">美国Sliquid女用催欲凝胶00</span><br />
                 
               </td>
               <td align="center" width="18%">￥268.00</td>
               <td align="center" width="18%">1</td>
               </tr></table>
               </td>
               <td class="td_fs"   width="18%">￥278.00<br /><span class="span_spc">（含10.00快递费）</span></td>
               <td class="td_fs" width="16%"><span class="span_spc">订单已成功，等待备货中</span></td>
               <td class="td_fs" width="16%"><a href="#">取消订单</a><br />
               <a href="#">查看订单</a></td>
             </tr>
           </table>
           
         </div>
        <div>
           
        </div>
       
     </div>
     <div style="height:35px">
     
     <p class="p_pages fr">共6条 &nbsp; 首页  <span style="padding:0 3px; margin-left:1px; color:#DB0097">1</span> &nbsp; 尾页</p></div>
      <!---->
      </div>
       <div class="content_tb" style="margin-top:8px; display:none " id="showjs" >
   <div class="spmes_title" >
  <table id="tb_main" class="table_account" align="center" cellpadding="0" cellspacing="0">
    <tr class="title">
      <td height="40" width="32%" style="text-align:left; padding-left:15px">商品信息</td>
      <td  width="9%">单价（元）</td>
      <td width="9%">数量</td>
	  <td width="18%">实付款（元）</td>
      <td width="16%">订单状态</td>
      <td width="16%">操作</td>
      
    </tr>
    	
	  </table></div>
     
     <div class="spmes_content">
         <div class="ddtel">
            <h4 style="float:left">订单编号：<span style="color:#666; font:Arial, Helvetica, sans-serif" >2051030225</span></h4>
            <h4 style="margin-left:525px">下单时间：<span style="color:#666; font:Arial, Helvetica, sans-serif" >2012/05/12 12:18:05</span></h4>
           
         </div>
         <div class="listone">
           <table class="listcontent" cellpadding="0" cellspacing="0" width="748" border="0">
             <tr>
               <td  width="50%" height="65">
                 <table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
                  <tr>
                  <td height="100%" width="16%">
               <a href="#"><img src="img/1488_G_1337822483092.jpg" border="0" /></a>
               </td>
               <td width="48%">
                 <span class="span_spctwo">美国Sliquid女用催欲凝胶</span><br />
                 
               </td>
               <td align="center" width="18%">￥268.00</td>
               <td align="center" width="18%">1</td>
               </tr></table>
               </td>
               <td class="td_fs"   width="18%">￥278.00<br /><span class="span_spc">（含10.00快递费）</span></td>
               <td class="td_fs" width="16%"><span class="span_spc">订单已成功</span></td>
               <td class="td_fs" width="16%">
               <a href="#">查看订单</a></td>
             </tr>
           </table>
           
         </div>
        <div>
           
        </div>
       
     </div>
     <div style="height:35px">
     
     <p class="p_pages fr">共6条 &nbsp; 首页  <span style="padding:0 3px; margin-left:1px; color:#DB0097">1</span> &nbsp; 尾页</p></div>
      <!---->
      </div>
       <div class="content_tb" style="margin-top:8px; display:none" id="showyx" >
   <div class="spmes_title" >
  <table id="tb_main" class="table_account" align="center" cellpadding="0" cellspacing="0">
    <tr class="title">
      <td height="40" width="32%" style="text-align:left; padding-left:15px">商品信息</td>
      <td  width="9%">单价（元）</td>
      <td width="9%">数量</td>
	  <td width="18%">实付款（元）</td>
      <td width="16%">订单状态</td>
      <td width="16%">操作</td>
      
    </tr>
    	
	  </table></div>
     
     <div class="spmes_content">
         <div class="ddtel">
            <h4 style="float:left">订单编号：<span style="color:#666; font:Arial, Helvetica, sans-serif" >2051030225</span></h4>
            <h4 style="margin-left:525px">下单时间：<span style="color:#666; font:Arial, Helvetica, sans-serif" >2012/05/12 12:18:05</span></h4>
           
         </div>
         <div class="listone">
           <table class="listcontent" cellpadding="0" cellspacing="0" width="748" border="0">
             <tr>
               <td  width="50%" height="65">
                 <table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
                  <tr>
                  <td height="100%" width="16%">
               <a href="#"><img src="img/1488_G_1337822483092.jpg" border="0" /></a>
               </td>
               <td width="48%">
                 <span class="span_spctwo">美国Sliquid女用催欲凝胶222</span><br />
                 
               </td>
               <td align="center" width="18%">￥268.00</td>
               <td align="center" width="18%">1</td>
               </tr></table>
               </td>
               <td class="td_fs"   width="18%">￥278.00<br /><span class="span_spc">（含10.00快递费）</span></td>
               <td class="td_fs" width="16%"><span class="span_spc">订单已成功</span></td>
               <td class="td_fs" width="16%">
               <a href="#">查看订单</a></td>
             </tr>
           </table>
           
         </div>
        <div>
           
        </div>
       
     </div>
     <div style="height:35px">
     
     <p class="p_pages fr">共6条 &nbsp; 首页  <span style="padding:0 3px; margin-left:1px; color:#DB0097">1</span> &nbsp; 尾页</p></div>
      <!---->
      </div>
      
      
      
       <div class="content_tb" style="margin-top:8px; display:none" id="showzb" >
   <div class="spmes_title" >
  <table id="tb_main" class="table_account" align="center" cellpadding="0" cellspacing="0">
    <tr class="title">
      <td height="40" width="32%" style="text-align:left; padding-left:15px">商品信息</td>
      <td  width="9%"></td>
      <td width="9%"></td>
	  <td width="18%"></td>
      <td width="16%">订单金额</td>
      <td width="16%">支付方式</td>
      
    </tr>
    	
	  </table></div>
     
     <!--<div class="spmes_content">
         <div class="ddtel">
            <h4 style="float:left">订单编号：<span style="color:#666; font:Arial, Helvetica, sans-serif" >2051030225</span></h4>
            <h4 style="margin-left:525px">下单时间：<span style="color:#666; font:Arial, Helvetica, sans-serif" >2012/05/12 12:18:05</span></h4>
           
         </div>
         <div class="listone">
           <table class="listcontent" cellpadding="0" cellspacing="0" width="748" border="0">
             <tr>
               <td  width="50%" height="65">
                 <table cellpadding="0" cellspacing="0" width="100%" height="100%" border="0">
                  <tr>
                  <td height="100%" width="16%">
               <a href="#"><img src="img/1488_G_1337822483092.jpg" border="0" /></a>
               </td>
               <td width="48%">
                 <span class="span_spctwo">美国Sliquid女用催欲凝胶222</span><br />
                 
               </td>
               <td align="center" width="18%">￥268.00</td>
               <td align="center" width="18%">1</td>
               </tr></table>
               </td>
               <td class="td_fs"   width="18%">￥278.00<br /><span class="span_spc">（含10.00快递费）</span></td>
               <td class="td_fs" width="16%"><span class="span_spc">订单已成功</span></td>
               <td class="td_fs" width="16%">
               <a href="#">查看订单</a></td>
             </tr>
           </table>
           
         </div>
        <div>
           
        </div>
       
     </div>-->
     <div style="height:35px">
     
     <p class="p_pages fr">共6条 &nbsp; 首页  <span style="padding:0 3px; margin-left:1px; color:#DB0097">1</span> &nbsp; 尾页</p></div>
      <!---->
      </div>

</div>
<br/>
<div id="loading_bar">
<img src="/img/account/ajax-loader.gif" /><br />
<div>正在加载数据，请稍等……</div>
</div>
</body>
</html>
<!--<script src="http://s1.vipshop.com/jquery/lib/jquery-1.3.2.min.js"></script>
<script language="javascript">
var od = 'desc';
var np = '1';
var field = 'id';
var is_loading = 0;
var nosingleajax= true;

jQuery(document).ready(function(){
    jQuery.noConflict();
    jQuery().ajaxStart(function(){
        jQuery('#loading_bar').show();
        is_loading = 1;
    });
    jQuery().ajaxComplete(function(){
		if(nosingleajax){
	        jQuery('#loading_bar').hide();
	        is_loading = 0;
		}
    });    
});

function order_list()
{
	if (od == 'asc')
		od = 'desc';
	else
		od = 'asc';
	location = 'orders.php?sort=' + od + '&np=' + np + '&field=' + field;
}
function merge_order(order_id,aigo) {
    if(is_loading) {
        alert('正在加载数据……请稍后再尝试该操作');
        return false;
    }
    jQuery.getJSON('orders.php?act=merge', {'id':order_id,'aigo':aigo}, function(json) {
        parent.show_message_div(json.view, 288 + ( Math.max(json.num-2 ,0) * 21) );
    });
}

function cancel_order(order_id) {
    //if(confirm('确定要取消该订单吗?')) {
        jQuery.getJSON('orders.php?act=cancel&ajax=1', {'id':order_id}, function(json) {
        	var base_height = jQuery.browser.msie ? 328 : 298;
	       	var in_height =  jQuery.browser.msie? 69 : 60;
            parent.show_message_div(json.view, base_height + ( Math.max(json.num-1 ,0) * in_height ));
			oit_order_del(order_id);
        });
    //}    
    return false;
}

function goto_rebuy(order_id){
	nosingleajax =false;
    jQuery.getJSON('order_info.php?act=rebuy&', {'id':order_id}, function(json) {
		if(json.error){
			alert(json.msg);
		}else{	    			
			jQuery.getJSON('http://cart.vipshop.com/club/add.php?act=mul&callback=rebuy_callback&jsoncalback=?&'+json.msg);	
		}
    });
    
}

function rebuy_callback(info){
	nosingleajax = true;
	jQuery('#loading_bar').hide();
	is_loading = 0;		
	
	var json = eval(info);
	switch(info.result){
		case 1:
			parent.location = "http://cart.vipshop.com/club/";
			break;
		case -1:
			alert("请重新登录！");
			parent.location = "/index.php";
			break;
		case 0:
			alert(info.msg);
			break;
		default:
			alert(info.msg);
			
	}

}


</script>-->
<script type="text/javascript" src="js/show_div.js"></script>


<!-- SiteCatalyst code version: H.24.1.
Copyright 1996-2011 Adobe, Inc. All Rights Reserved
More info available at http://www.omniture.com 
<script src="/static/js/s_code.js?v=1.01" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript"><!--
/* You may give each page an identifying name, server, and channel on
the next lines. */
oit_account('我的账户：订单管理','我的账户页面','我的账户页面');
/************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/
var s_code=s.t();if(s_code)document.write(s_code)//</script>
<script language="JavaScript" type="text/javascript"><!--
if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-')
//</script><noscript><img src="http://vipshop.d2.sc.omtrdc.net/b/ss/vipshop-prd/1/H.24.1--NS/0"
height="1" width="1" border="0" alt="" /></noscript><!--/DO NOT REMOVE/-->
<!-- End SiteCatalyst code version: H.24.1. -->
